﻿@model TaoNiuOA.Models.UserGroup
@{
    ViewBag.Title = "添加职位";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
<h2>
    添加职位
</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <div class="editor-label">
            @Html.LabelFor(model => model.GroupName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GroupName)
            @Html.ValidationMessageFor(model => model.GroupName)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.JobMoney)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.JobMoney)
            @Html.ValidationMessageFor(model => model.JobMoney)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.BasePoint)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.BasePoint)
            @Html.ValidationMessageFor(model => model.BasePoint)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Sort)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Sort) 数字越小越靠前
            @Html.ValidationMessageFor(model => model.Sort)
        </div>
        <p>
            <input type="submit" value="添加" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("返回列表", "Index")
</div>
